package com.zoweunion.mechanic.dao.base;

import com.zoweunion.mechanic.entity.PartsDailyBean;
import com.zoweunion.mechanic.util.CGOrderEntity;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Component
public interface PartsManagerDao {
    List<Map<String, Object>> getPartsCoutByDaily(Map<String, Object> map);

    List<Map<String, Object>> getPartsCoutByMonth(Map<String, Object> map);

    Map<String, Object> getPartsById(String key);

    List<CGOrderEntity> selectOrderPartsByTime2(Date yesterday);

    List<CGOrderEntity> selectPartsByPIds2(String partsId, String sId, Date yesterday);

    List<PartsDailyBean> getPartsDailyExport(Map<String, Object> map);

    List<String> getPartsCode(Map<String, Object> reqMap);
}
